package com.hunliji.monitor.service.api;

import com.hunliji.monitor.service.api.model.bo.InformActionStrategyBO;
import com.hunliji.monitor.service.api.model.param.QueryInformActionStrategyParam;

import java.util.List;

/**
 * 通知的行动策略
 * @author wuchen
 */
public interface InformActionStrategyService {
    /**
     * 存储
     * @param informActionStrategyBO
     */
    void save(InformActionStrategyBO informActionStrategyBO);

    /**
     * 删除
     * @param informActionStrategyBO
     */
    void delete(InformActionStrategyBO informActionStrategyBO);

    /**
     * 根据id更新数据
     * @param informActionStrategyBO
     */
    void updateById(InformActionStrategyBO informActionStrategyBO);



    /**
     * 查询
     * @param queryInformActionStrategyParam
     * @return
     */
    List<InformActionStrategyBO> query(QueryInformActionStrategyParam queryInformActionStrategyParam);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    InformActionStrategyBO queryById(Long id);
}
